using System;
using System.Data;
using System.Collections;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace MPR.Poker.Model.SYS
{
    public class SYS_TournamentStepTableMember
    {
        #region Member
        private Int64 m_IDSys = 0;
        private int m_TournamentIDSys = 0;
        private Int64 m_TournamentStepIDSys = 0;
        private Int64 m_TournamentStepTableIDSys = 0;
        private Int64 m_MemberIDSys = 0;
        private bool m_IsLeader = false;
        private int m_PrizeIDSys = 0;
        private string m_Note = string.Empty;
        private int m_OrderIndex = 0;
        private DateTime? m_CreatedDate;
        private DateTime? m_UpdatedDate;
        private bool m_IsDeleted = false;
        private DateTime? m_DeletedDate;
        #endregion
        #region Properties
        /// <summary>
        /// IDSys
        /// 
        /// </summary>
        [Key, DatabaseGeneratedAttribute(DatabaseGeneratedOption.Identity)]
        public Int64 IDSys
        {
            get { return m_IDSys; }
            set { m_IDSys = value; }
        }
        /// <summary>
        /// TournamentIDSys
        /// 
        /// </summary>
        public int TournamentIDSys
        {
            get { return m_TournamentIDSys; }
            set { m_TournamentIDSys = value; }
        }
        /// <summary>
        /// TournamentStepIDSys
        /// 
        /// </summary>
        public Int64 TournamentStepIDSys
        {
            get { return m_TournamentStepIDSys; }
            set { m_TournamentStepIDSys = value; }
        }
        /// <summary>
        /// TournamentStepTableIDSys
        /// 
        /// </summary>
        public Int64 TournamentStepTableIDSys
        {
            get { return m_TournamentStepTableIDSys; }
            set { m_TournamentStepTableIDSys = value; }
        }
        /// <summary>
        /// MemberIDSys
        /// Thành viên
        /// </summary>
        public Int64 MemberIDSys
        {
            get { return m_MemberIDSys; }
            set { m_MemberIDSys = value; }
        }
        /// <summary>
        /// IsLeader
        /// Nhóm trưởng
        /// </summary>
        public bool IsLeader
        {
            get { return m_IsLeader; }
            set { m_IsLeader = value; }
        }
        /// <summary>
        /// PrizeIDSys
        /// Xếp loại giải thưởng
        /// </summary>
        public int PrizeIDSys
        {
            get { return m_PrizeIDSys; }
            set { m_PrizeIDSys = value; }
        }
        /// <summary>
        /// Note
        /// Ghi chú
        /// </summary>
        public string Note
        {
            get { return m_Note; }
            set { m_Note = value; }
        }
        /// <summary>
        /// OrderIndex
        /// Thứ tự
        /// </summary>
        public int OrderIndex
        {
            get { return m_OrderIndex; }
            set { m_OrderIndex = value; }
        }
        /// <summary>
        /// CreatedDate
        /// 
        /// </summary>
        public DateTime? CreatedDate
        {
            get { return m_CreatedDate; }
            set { m_CreatedDate = value; }
        }
        /// <summary>
        /// UpdatedDate
        /// 
        /// </summary>
        public DateTime? UpdatedDate
        {
            get { return m_UpdatedDate; }
            set { m_UpdatedDate = value; }
        }
        /// <summary>
        /// IsDeleted
        /// 
        /// </summary>
        public bool IsDeleted
        {
            get { return m_IsDeleted; }
            set { m_IsDeleted = value; }
        }
        /// <summary>
        /// DeletedDate
        /// 
        /// </summary>
        public DateTime? DeletedDate
        {
            get { return m_DeletedDate; }
            set { m_DeletedDate = value; }
        }
        #endregion
        #region Constructor
        public SYS_TournamentStepTableMember()
        {
        }
        #endregion
        #region Column Names
        public const String colIDSys = "IDSys";
        public const String colTournamentIDSys = "TournamentIDSys";
        public const String colTournamentStepIDSys = "TournamentStepIDSys";
        public const String colTournamentStepTableIDSys = "TournamentStepTableIDSys";
        public const String colMemberIDSys = "MemberIDSys";
        public const String colIsLeader = "IsLeader";
        public const String colPrizeIDSys = "PrizeIDSys";
        public const String colCreatedDate = "CreatedDate";
        public const String colUpdatedDate = "UpdatedDate";
        public const String colIsDeleted = "IsDeleted";
        public const String colDeletedDate = "DeletedDate";
        #endregion
    }
}
